package com.mj.app.common_util;

import android.app.Application;
import android.content.Context;

/**
 * ========================================
 * *
 * title: BaseApplication
 * description:
 * *
 * Created by David Hogan on 2018/3/2.
 * ========================================
 */

public class BaseApplication extends Application {

    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();

        init();
    }

    private void init(){

        context = this;

        // 下方可写注册插件
    }

    public static BaseApplication getContext(){
        return  (BaseApplication) context;
    }

}
